# 数据库配置
DB_HOST = '127.0.0.1'
DB_PORT = 3306
DB_USER = 'root'
DB_PASSWORD = '123456'
DB_NAME = 'zhiliaooa'
DB_CHARSET = 'utf8mb4'
DB_URL = f'mysql+pymysql://{DB_USER}:{DB_PASSWORD}@{DB_HOST}:{DB_PORT}/{DB_NAME}?charset={DB_CHARSET}'
SQLALCHEMY_DATABASE_URI = DB_URL





# 邮箱配置
MAIL_SERVER = 'smtp.qq.com'
MAIL_PORT = 465
MAIL_USE_SSL = True
MAIL_USERNAME = '2394713824@qq.com'
MAIL_PASSWORD = 'nxidhjatzexgebja'
MAIL_DEFAULT_SENDER = '2394713824@qq.com'
